<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="Opensocial,org.opensocial.client.jswrapper.Opensocial,fetchActivities,fetchPeople,fetchPerson,fetchPersonAppData,getDomain,handleFetchActivities,handleFetchPeople,handleFetchPerson,handleFetchPersonAppData,handleRemovePersonAppData,handleRequestCreateActivity,handleRequestPermission,handleRequestSendMessage,handleRequestShareApp,handleUpdatePersonAppData,registerExternalCallbacks,removePersonAppData,requestCreateActivity,requestPermission,requestSendMessage,requestShareApp,supportsField,updatePersonAppData" name="keywords">
<title>org.opensocial.client.jswrapper.Opensocial</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Opensocial - Opensocial Actionscript Client SDK Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Opensocial Actionscript Client SDK</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/opensocial/client/jswrapper/Opensocial.html&amp;org/opensocial/client/jswrapper/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;Opensocial</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class Opensocial"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.opensocial.client.jswrapper</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Opensocial</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Opensocial <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> <a href="JsFeature.html">JsFeature</a></td>
</tr>
</table>
<p></p>
 Wrapper of <code><j>opensocial</j></code> namespace in javascript. This is the core namespace
 for the Opensocial API.
 
 <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial" target="mm_external">opensocial</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a><a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a>
</div>
<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a>
</div>
</div>
<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="JsFeature.html#dropCallback">dropCallback</a> : Function<div class="summaryTableDescription">
   Returns the drop function of the <code>CallbackManager</code> instance in the client.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="JsFeature.html#popCallback">popCallback</a> : Function<div class="summaryTableDescription">
   Returns the pop function of the <code>CallbackManager</code> instance in the client.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="JsFeature.html#pushCallback">pushCallback</a> : Function<div class="summaryTableDescription">
   Returns the push function of the <code>CallbackManager</code> instance in the client.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="JsFeature.html#ready">ready</a> : Boolean<div class="summaryTableDescription">
   Returns the client.ready property.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fetchActivities()">fetchActivities</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, callback:Function = null, params:Object = null):void</div>
<div class="summaryTableDescription">
   Sends request to fetch activities for people.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fetchPeople()">fetchPeople</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, callback:Function = null, params:Object = null):void</div>
<div class="summaryTableDescription">
   Sends request to fetch friends.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fetchPerson()">fetchPerson</a>(id:String, callback:Function = null, params:Object = null):void</div>
<div class="summaryTableDescription">
   Sends request to fetch a person.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fetchPersonAppData()">fetchPersonAppData</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, keys:Array, callback:Function = null, params:Object = null):void</div>
<div class="summaryTableDescription">
   Sends request to fetch person app data.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getDomain()">getDomain</a>():String</div>
<div class="summaryTableDescription">
   Calls the <code><j>opensocial.Environment.getDomain</j></code> to get the domain of the 
   running conatiner.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#registerExternalCallbacks()">registerExternalCallbacks</a>():void</div>
<div class="summaryTableDescription">
   Registers the external interface callbacks for this feature.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removePersonAppData()">removePersonAppData</a>(id:String, keys:Array, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to remove the person app data.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#requestCreateActivity()">requestCreateActivity</a>(activity:<a href="../base/Activity.html">Activity</a>, priority:String, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to create an activity.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#requestPermission()">requestPermission</a>(permissions:Array, reasonText:String, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to share this app.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#requestSendMessage()">requestSendMessage</a>(recipients:Array, message:<a href="../base/Message.html">Message</a>, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to send a message.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#requestShareApp()">requestShareApp</a>(recipients:Array, reason:<a href="../base/Message.html">Message</a>, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to share this app.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#supportsField()">supportsField</a>(objectType:String, field:String):Boolean</div>
<div class="summaryTableDescription">
   Calls the <code><j>opensocial.Environment.supportsField</j></code> to check if the field
   in the type is supported for this container.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updatePersonAppData()">updatePersonAppData</a>(id:String, key:String, value:Object, callback:Function = null):void</div>
<div class="summaryTableDescription">
   Sends request to update the person app data.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedMethod" id="hideInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(false,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Methods</a>
</div>
<div class="showInheritedProtectedMethod" id="showInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(true,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Methods</a>
</div>
</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="JsFeature.html#assertReady()">assertReady</a>():void</div>
<div class="summaryTableDescription">
   Asserts the client.ready property.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="JsFeature.html#getJsFuncName()">getJsFuncName</a>(funcName:String):String</div>
<div class="summaryTableDescription">
   Generates the javascript function name with the <code>jsNamespace</code> value.</div>
</td><td class="summaryTableOwnerCol"><a href="JsFeature.html">JsFeature</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleFetchActivities()">handleFetchActivities</a>(reqID:String, rawActivities:Object):void</div>
<div class="summaryTableDescription">
   Callback of fetch person activities.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleFetchPeople()">handleFetchPeople</a>(reqID:String, rawPeople:Object):void</div>
<div class="summaryTableDescription">
   Callback of fetch people response.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleFetchPerson()">handleFetchPerson</a>(reqID:String, rawPerson:Object):void</div>
<div class="summaryTableDescription">
   Callback of fetch person response.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleFetchPersonAppData()">handleFetchPersonAppData</a>(reqID:String, rawDataSet:Object):void</div>
<div class="summaryTableDescription">
   Callback of fetch person app data response.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleRemovePersonAppData()">handleRemovePersonAppData</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of update person app data response.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleRequestCreateActivity()">handleRequestCreateActivity</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of create activities request.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleRequestPermission()">handleRequestPermission</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of permission request.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleRequestSendMessage()">handleRequestSendMessage</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of send message request.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleRequestShareApp()">handleRequestShareApp</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of share app request.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleUpdatePersonAppData()">handleUpdatePersonAppData</a>(reqID:String):void</div>
<div class="summaryTableDescription">
   Callback of update person app data response.</div>
</td><td class="summaryTableOwnerCol">Opensocial</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="fetchActivities()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fetchActivities</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function fetchActivities(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, callback:Function = null, params:Object = null):void</code><p>
   Sends request to fetch activities for people. 
   Js-side.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is <code>Collection</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.ActivityRequestFields, Object&gt;</code> object.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newFetchActivitiesRequest" target="mm_external">opensocial.DataRequest.newFetchActivitiesRequest</a>
</div>
</div>
<a name="fetchPeople()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fetchPeople</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function fetchPeople(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, callback:Function = null, params:Object = null):void</code><p>
   Sends request to fetch friends.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is <code>Collection</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.PeopleRequestField, Object&gt;</code> object.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newFetchPeopleRequest" target="mm_external">opensocial.DataRequest.newFetchPeopleRequest</a>
</div>
</div>
<a name="fetchPerson()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fetchPerson</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function fetchPerson(id:String, callback:Function = null, params:Object = null):void</code><p>
   Sends request to fetch a person.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; An <code>IdSpec.PersonId</code> value, can be <code>VIEWER</code> or 
             <code>OWNER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is <code>Person</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.PeopleRequestField, Object&gt;</code> object.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newFetchPersonRequest" target="mm_external">opensocial.DataRequest.newFetchPersonRequest</a>
</div>
</div>
<a name="fetchPersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fetchPersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function fetchPersonAppData(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, keys:Array, callback:Function = null, params:Object = null):void</code><p>
   Sends request to fetch person app data.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">keys</span>:Array</code> &mdash; Array of key names, ' to represent all.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is 
                   <code>Map.&lt;String, Map.&lt;String, Object&gt;&gt;</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.DataRequestField, Object&gt;</code> object.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newFetchPersonAppDataRequest" target="mm_external">opensocial.DataRequest.newFetchPersonAppDataRequest</a>
</div>
</div>
<a name="getDomain()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getDomain</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getDomain():String</code><p>
   Calls the <code><j>opensocial.Environment.getDomain</j></code> to get the domain of the 
   running conatiner.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; The domain of the container, e.g. orkut.com, 51.com
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.Environment.getDomain" target="mm_external">opensocial.Environment.getDomain</a>
</div>
</div>
<a name="handleFetchActivities()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleFetchActivities</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleFetchActivities(reqID:String, rawActivities:Object):void</code><p>
   Callback of fetch person activities.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">rawActivities</span>:Object</code> &mdash; A wrapped 
                 <code><j>opensocial.Collection.&lt;opensocial.Activity&gt;</j></code> 
                 object from Js-side.
   </td>
</tr>
</table>
</div>
<a name="handleFetchPeople()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleFetchPeople</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleFetchPeople(reqID:String, rawPeople:Object):void</code><p>
   Callback of fetch people response.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; request UID.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">rawPeople</span>:Object</code> &mdash; A wrapped <code><j>opensocial.Collection.&lt;opensocial.Person&gt;</j></code>
                    object from Js-side.
   </td>
</tr>
</table>
</div>
<a name="handleFetchPerson()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleFetchPerson</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleFetchPerson(reqID:String, rawPerson:Object):void</code><p>
   Callback of fetch person response.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">rawPerson</span>:Object</code> &mdash; A wrapped <code><j>opensocial.Person</j></code> object from Js-side.
   </td>
</tr>
</table>
</div>
<a name="handleFetchPersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleFetchPersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleFetchPersonAppData(reqID:String, rawDataSet:Object):void</code><p>
   Callback of fetch person app data response.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">rawDataSet</span>:Object</code> &mdash; <code>Map.&lt;String, Map.&lt;String, Object&gt;&gt;</code> object 
                     from Js-side.
   </td>
</tr>
</table>
</div>
<a name="handleRemovePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleRemovePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleRemovePersonAppData(reqID:String):void</code><p>
   Callback of update person app data response.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="handleRequestCreateActivity()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleRequestCreateActivity</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleRequestCreateActivity(reqID:String):void</code><p>
   Callback of create activities request.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="handleRequestPermission()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleRequestPermission</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleRequestPermission(reqID:String):void</code><p>
   Callback of permission request.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="handleRequestSendMessage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleRequestSendMessage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleRequestSendMessage(reqID:String):void</code><p>
   Callback of send message request.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="handleRequestShareApp()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleRequestShareApp</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleRequestShareApp(reqID:String):void</code><p>
   Callback of share app request.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="handleUpdatePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleUpdatePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleUpdatePersonAppData(reqID:String):void</code><p>
   Callback of update person app data response.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reqID</span>:String</code> &mdash; Request UID.
   </td>
</tr>
</table>
</div>
<a name="registerExternalCallbacks()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">registerExternalCallbacks</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function registerExternalCallbacks():void</code><p>
   Registers the external interface callbacks for this feature. 
   </p></div>
<a name="removePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removePersonAppData(id:String, keys:Array, callback:Function = null):void</code><p>
   Sends request to remove the person app data.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; A <code>IdSpec.PersonId</code> value, can only be <code>VIEWER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">keys</span>:Array</code> &mdash; Array of key names, ' to represent all.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newRemovePersonAppDataRequest" target="mm_external">opensocial.DataRequest.newRemovePersonAppDataRequest</a>
</div>
</div>
<a name="requestCreateActivity()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">requestCreateActivity</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function requestCreateActivity(activity:<a href="../base/Activity.html">Activity</a>, priority:String, callback:Function = null):void</code><p>
   Sends request to create an activity.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">activity</span>:<a href="../base/Activity.html">Activity</a></code> &mdash; An <code>Activity</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">priority</span>:String</code> &mdash; A value of <code>Globals.CreateActivityPriority</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.requestCreateActivity" target="mm_external">opensocial.requestCreateActivity</a>
</div>
</div>
<a name="requestPermission()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">requestPermission</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function requestPermission(permissions:Array, reasonText:String, callback:Function = null):void</code><p>
   Sends request to share this app.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">permissions</span>:Array</code> &mdash; An array of <code>Globals.Permission</code> values.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">reasonText</span>:String</code> &mdash; A string of reason text.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.requestPermission" target="mm_external">opensocial.requestPermission</a>
</div>
</div>
<a name="requestSendMessage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">requestSendMessage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function requestSendMessage(recipients:Array, message:<a href="../base/Message.html">Message</a>, callback:Function = null):void</code><p>
   Sends request to send a message.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">recipients</span>:Array</code> &mdash; An array of ids, such as OWNER, VIEWER, or person ids in reachable groups.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:<a href="../base/Message.html">Message</a></code> &mdash; An <code>Message</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.requestSendMessage" target="mm_external">opensocial.requestSendMessage</a>
</div>
</div>
<a name="requestShareApp()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">requestShareApp</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function requestShareApp(recipients:Array, reason:<a href="../base/Message.html">Message</a>, callback:Function = null):void</code><p>
   Sends request to share this app.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">recipients</span>:Array</code> &mdash; An array of ids, such as OWNER, VIEWER, or person ids in reachable groups.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">reason</span>:<a href="../base/Message.html">Message</a></code> &mdash; An <code>Message</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.requestShareApp" target="mm_external">opensocial.requestShareApp</a>
</div>
</div>
<a name="supportsField()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">supportsField</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function supportsField(objectType:String, field:String):Boolean</code><p>
   Calls the <code><j>opensocial.Environment.supportsField</j></code> to check if the field
   in the type is supported for this container.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">objectType</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">field</span>:String</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; True if supported.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.Environment.supportsField" target="mm_external">opensocial.Environment.supportsField</a>
</div>
</div>
<a name="updatePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updatePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updatePersonAppData(id:String, key:String, value:Object, callback:Function = null):void</code><p>
   Sends request to update the person app data.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; A <code>IdSpec.PersonId</code> value, can only be <code>VIEWER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:String</code> &mdash; One key name of the data.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Object</code> &mdash; The value to be store, must be a json format.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item is null.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.DataRequest.newUpdatePersonAppDataRequest" target="mm_external">opensocial.DataRequest.newUpdatePersonAppDataRequest</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">2009 Opensocial</center>
</div>
</body>
</html>
<!--2009 Opensocial-->
